<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title></title>
	<include file="Public/header" />
</head>
<body>
<script type="text/javascript">
	var getprintorderGreenUrl="{:U('Ems/get_printorder')}";
	var printbatUrl="{:U('Outbound/printbat_iframe')}";//打印百世面单链接
	var printbatSFUrl="{:U('Outbound/printbatSF_iframe')}";//打印顺丰面单链接
	
	var ajax_printbatSFUrl="{:U('Outbound/ajax_printbatSF')}";//预览/立即打印
	var ajax_printbatBSUrl="{:U('Outbound/ajax_printbatBS')}";//预览/立即打印
	
	<!-- using('../../../default/js/printorderGreen.js'); -->
	var LODOP;
	function getStatusValue(ValueType,ValueIndex,oResultOB){
		LODOP=getLodop(); 
		if (LODOP.CVERSION) LODOP.On_Return=function(TaskID,Value){oResultOB.value=Value;};
		var strResult=LODOP.GET_VALUE(ValueType,ValueIndex);
		if (!LODOP.CVERSION) return strResult; else return "";
	};

	
</script>
<script type="text/javascript" src="__PUBLIC__/default/js/emsfee_log.js"></script>

	<table id="printorderGreenDatagrid" toolbar="#printorderGreen_tb"></table>
	<!-- 编辑 -->
    <div id="booksInfoEditDialog" class="easyui-dialog" style="width:400px;padding:10px 20px"
            closed="true" buttons="#booksInfoEditButtons"  modal="true">
        <form id="booksInfoEditForm" method="post" enctype="multipart/form-data" novalidate>    
            <input name="id"  type="hidden" />
			<div class="fitem">
                <label>快递费用</label>
                <input name="ems_fee" type="text"  class="easyui-textbox" data-options="required:true,delay:1000,height:30,validType:['length[1,20]']" />
            </div>
        </form>
    </div>
    <div id="booksInfoEditButtons">
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="printorderGreenObj.save('{:U('Ems/emsfeeSave')}')" style="width:90px">更新</a>
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:
    $('#booksInfoEditDialog').dialog('close')" style="width:90px">取消</a>
    </div>
    <!-- /编辑 -->
    <!-- 搜索栏 -->
    <div id="printorderGreen_tb">
        <form id="printorderGreenSearchForm" method="post" novalidate>
             <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon icon-all" plain="true" onclick="printorderGreenObj.showAll()">全部</a>  
			 			 
			 订单编号:<input class="easyui-textbox" name="order_no" style="width:150px;height:30px;"> 
			 电子面单号:<input class="easyui-textbox" name="mailNo" style="width:150px;height:30px;"> 
			 收件人姓名:<input class="easyui-textbox" name="receiveMan" style="width:150px;height:30px;"> 
			  时间: <input class="easyui-datetimebox" name="start_time" value="{:date('Y-m-1 H:i:s',time())}" style="height:30px;width:150px;">
				- <input class="easyui-datetimebox" name="end_time" value="{:date('Y-m-d H:i:s',time())}" style="height:30px;width:150px;">
			 快递公司<select class="easyui-combobox" name="ems_name" id="ems_name" style="width:70px;height:30px;" >
			 <option value="0">未选择</option>
             <option value="中通">中通</option>
			 <option value="百世">百世</option>
			 <option value="顺丰">顺丰</option>
             </select>
			 已称重: 
				<select class="easyui-combobox" name="has_weight" style="width:200px;height:30px;">
					<option value="0">未选择</option>
					<option value="1">是</option>
					<option value="2">否</option>
				</select>
			<!-- 货主:  -->
				<!-- <select class="easyui-combobox" name="merchant_code" style="width:200px;height:30px;"> -->
					 <!-- <option value="0">未选择</option> -->
					 <!-- <foreach name="bc_list" item="vo"> -->
						 <!-- <option value="{$vo.merchant_code}">{$vo.name}</option> -->
					 <!-- </foreach> -->
				<!-- </select> -->
			 <a href="#" class="easyui-linkbutton searchBar" iconCls="icon-search" style="height:30px;">搜索</a>
        </form>
		<a href="javascript:void(0)" onclick="printorderGreenObj.excelBar()" class="easyui-linkbutton" data-options="iconCls:'icon-page_excel',plain:true">导出表格</a>
		<a href="javascript:void(0)" onclick="printorderGreenObj.editBar()" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">修改</a>
    </div>
    <!-- /搜索栏 -->
</body>